package com.wtc.abstract_;

public class CommonEmployee extends Employee {
    public CommonEmployee() {
    }

    public CommonEmployee(String name, int id, double salary) {
        super(name, id, salary);
    }

    @Override
    public void work() {
        System.out.println("普通员工重写方法");
        System.out.println("普通员工：" + super.getName() + "工作中");
    }
}
